import * as React from "react";
import { BasePropsType } from "types/define";
import { View, Text, Button } from "react-native";
const { useEffect } = React;
interface PropsTypes extends BasePropsType {}

const Home: React.FC<PropsTypes> = props => {
    useEffect(() => {
        console.log(props);
        console.log(props.navigation.push);
    });
    return (
        <View>
            <Text>main-home</Text>
        </View>
    );
};

export default Home;
